-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libxml2: 2.12.7 → 2.13.2 #326637
libxml2: 2.12.7 → 2.13.2 #326637
Conversation
- new API with per-context error handlers - remove HTTP POST support - zlib, lzma and HTTP disabled by default → removed `zlib` - Meson support added → cycle, not switching right now - docs no longer install examples and tutorial was removed → since only `xmllint` and `xmlcatalog` HTML docs remain, move them to `out` - FTP and `xpointer()` XPath extensions deprecated https://discourse.gnome.org/t/libxml2-2-12-8-released/21528 https://discourse.gnome.org/t/libxml2-2-13-0-released/21529 https://discourse.gnome.org/t/libxml2-2-13-1-released/21778 https://discourse.gnome.org/t/libxml2-2-13-2-released/22000 Also clean up the expression a bit and install DevHelp files to `devdoc` (previously deleted by multiple-outputs hook).
Bisect says 25bc618
|
@trofi that sounds like an issue with the build system. Looking at the code, the path refers to The following appears to fix it:
But that is not upstreamable since build directory location is configurable. Also for some reason, the warning actually shows correct relative path (one higher than used). And it is not clear to me why it fails when there is a xinclude fallback. |
|
Opened new upstream issue: https://gitlab.gnome.org/GNOME/libxml2/-/issues/772 |
Looks like
|
You either have to build libxml2 with HTTP or legacy support or build raptor without "www" support. |
Fixing libraptor in #328243 Tried to apply the patch with libxml2 fix but that breaks tests: https://gitlab.gnome.org/GNOME/libxml2/-/issues/772#note_2171538 |
|
That might be fixed by postgres/postgres@e719248 |
For Postgres, you might also need this libxml2 commit from the 2.13 branch: https://gitlab.gnome.org/GNOME/libxml2/-/commit/e30cb632e734394ddbd7bd62b57cee3586424352 There will be a 2.13.3 release next week. |
|
Sorry, just returned from vacation. Thanks for fix. |
there is also postgis failure |
For some reason 25bc618 is the first bad commit causing runtime issues in mysqlnd PHP extensions: $ nix-build --expr 'let pkgs = import ./. {}; in pkgs.php.withExtensions ({ all, ... }: [ all.mysqlnd ])' && result/bin/php -i | grep Warning
/nix/store/m8s2xh98lx9n30jx256qw79hfpdnx2sk-php-with-extensions-8.2.21
Warning: PHP Startup: Unable to load dynamic library '/nix/store/4gz4xg5g4j2i7yq1qsnq4sp63dmyl5s0-php-mysqlnd-8.2.21/lib/php/extensions/mysqlnd.so' (tried: /nix/store/4gz4xg5g4j2i7yq1qsnq4sp63dmyl5s0-php-mysqlnd-8.2.21/lib/php/extensions/mysqlnd.so (/nix/store/4gz4xg5g4j2i7yq1qsnq4sp63dmyl5s0-php-mysqlnd-8.2.21/lib/php/extensions/mysqlnd.so: undefined symbol: compress), /nix/store/qh0311v3hwbbd8mf15kv3zmz91hq4d1c-php-8.2.21/lib/php/extensions//nix/store/4gz4xg5g4j2i7yq1qsnq4sp63dmyl5s0-php-mysqlnd-8.2.21/lib/php/extensions/mysqlnd.so.so (/nix/store/qh0311v3hwbbd8mf15kv3zmz91hq4d1c-php-8.2.21/lib/php/extensions//nix/store/4gz4xg5g4j2i7yq1qsnq4sp63dmyl5s0-php-mysqlnd-8.2.21/lib/php/extensions/mysqlnd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
$ nix-build --expr 'let pkgs = import ./. {}; in pkgs.php.withExtensions ({ all, ... }: [ all.mysqli ])' && result/bin/php -i | grep Warning
/nix/store/78nn66mdmvqry6x3nv960w4rjaz6rf19-php-with-extensions-8.2.21
Warning: PHP Startup: Unable to load dynamic library '/nix/store/4gz4xg5g4j2i7yq1qsnq4sp63dmyl5s0-php-mysqlnd-8.2.21/lib/php/extensions/mysqlnd.so' (tried: /nix/store/4gz4xg5g4j2i7yq1qsnq4sp63dmyl5s0-php-mysqlnd-8.2.21/lib/php/extensions/mysqlnd.so (/nix/store/4gz4xg5g4j2i7yq1qsnq4sp63dmyl5s0-php-mysqlnd-8.2.21/lib/php/extensions/mysqlnd.so: undefined symbol: compress), /nix/store/qh0311v3hwbbd8mf15kv3zmz91hq4d1c-php-8.2.21/lib/php/extensions//nix/store/4gz4xg5g4j2i7yq1qsnq4sp63dmyl5s0-php-mysqlnd-8.2.21/lib/php/extensions/mysqlnd.so.so (/nix/store/qh0311v3hwbbd8mf15kv3zmz91hq4d1c-php-8.2.21/lib/php/extensions//nix/store/4gz4xg5g4j2i7yq1qsnq4sp63dmyl5s0-php-mysqlnd-8.2.21/lib/php/extensions/mysqlnd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/nix/store/47v522nby5yhg5dm70qb1dld0jwv29xg-php-mysqli-8.2.21/lib/php/extensions/mysqli.so' (tried: /nix/store/47v522nby5yhg5dm70qb1dld0jwv29xg-php-mysqli-8.2.21/lib/php/extensions/mysqli.so (/nix/store/47v522nby5yhg5dm70qb1dld0jwv29xg-php-mysqli-8.2.21/lib/php/extensions/mysqli.so: undefined symbol: mysqlnd_global_stats), /nix/store/qh0311v3hwbbd8mf15kv3zmz91hq4d1c-php-8.2.21/lib/php/extensions//nix/store/47v522nby5yhg5dm70qb1dld0jwv29xg-php-mysqli-8.2.21/lib/php/extensions/mysqli.so.so (/nix/store/qh0311v3hwbbd8mf15kv3zmz91hq4d1c-php-8.2.21/lib/php/extensions//nix/store/47v522nby5yhg5dm70qb1dld0jwv29xg-php-mysqli-8.2.21/lib/php/extensions/mysqli.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 cc @NixOS/php Edit: Tried to re-add the propagation of zlib in case it was the issue but no luck: $ nix-build --expr 'let pkgs = import ./. { overlays = [ (final: prev: { libxml2 = prev.libxml2.overrideAttrs (attrs: { propagatedBuildInputs = [prev.zlib]; }); }) ]; }; in pkgs.php.withExtensions ({ all, ... }: [ all.mysqlnd ])' && result/bin/php -i | grep Warning
/nix/store/xp8f9fgd1159wdi20fwwkznlz7z8lb77-php-with-extensions-8.2.21
Warning: PHP Startup: Unable to load dynamic library '/nix/store/z7jda5b5269wy85n2x2hjr35alc0jz4f-php-mysqlnd-8.2.21/lib/php/extensions/mysqlnd.so' (tried: /nix/store/z7jda5b5269wy85n2x2hjr35alc0jz4f-php-mysqlnd-8.2.21/lib/php/extensions/mysqlnd.so (/nix/store/z7jda5b5269wy85n2x2hjr35alc0jz4f-php-mysqlnd-8.2.21/lib/php/extensions/mysqlnd.so: undefined symbol: compress), /nix/store/sxw3pmri2vbl9kfdh0772kfwjpz2kchv-php-8.2.21/lib/php/extensions//nix/store/z7jda5b5269wy85n2x2hjr35alc0jz4f-php-mysqlnd-8.2.21/lib/php/extensions/mysqlnd.so.so (/nix/store/sxw3pmri2vbl9kfdh0772kfwjpz2kchv-php-8.2.21/lib/php/extensions//nix/store/z7jda5b5269wy85n2x2hjr35alc0jz4f-php-mysqlnd-8.2.21/lib/php/extensions/mysqlnd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Edit: I forgot symbols use a single namespace, resolved in #337380. |
Description of changes
Supersedes #319982, #324629
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.